---
title: "Create a purchase using a network token passthrough"
method: POST
path: "/purchases/ ​"
---

# Create a purchase using a network token passthrough

`POST /purchases/ ​`

## Headers

- `Content-Type` string

## Request body

- object
  - `amount` integer, required — A positive integer representing how much to charge, in the smallest currency unit (eg., 100 to charge $1.00, or 100 to Charge ¥100, a zero decimal currency)
  - `reference` string, required — Reference of the transaction. Max length 255 characters.
  - `customer_ip` string, required — RFC791-compliant IP address
  - `currency` string, required — Three letter [ISO currency code](https://pmnts.readme.io/v1.0/docs/iso-currency-codes-1), in UPPERCASE
  - `card_number` string, required — DPAN or network scheme token
  - `card_holder` string, required — Name of the card holder
  - `card_expiry` string — The token expiry - format: `MM/YYYY`
  - `cryptogram` string — Cryptogram value - 28 characters
  - `network_eci` string — ECI value associated with network cryptogram (required for VTS on MPGS only)
  - `test` boolean — Indicates if this is a test transaction
  - `metadata` object
  - `addendum_data` string
  - `capture` boolean — Indicates if this purchase should be captured (true), or authorized only (false). Defaults to true
  - `extra` object
    - `ecm` string — Specifies the transaction source and type for processing. This value is two digits, the first indicating the source (1 = Mail Order, 2 = Telephone Order, 3 = Internet) and the second indicating the payment type (1 = Single, 2 = Recurring, 3 = Instalment - not commonly supported)

## Response `200`

200

- object
  - `successful` boolean
  - `response` object
    - `authorization` string
    - `id` string
    - `card_number` string
    - `card_holder` string
    - `card_expiry` string
    - `card_token` string
    - `card_type` string
    - `card_category` string
    - `card_subcategory` string
    - `amount` integer
    - `decimal_amount` number
    - `successful` boolean
    - `message` string
    - `reference` string
    - `currency` string
    - `transaction_id` string
    - `settlement_date` string
    - `transaction_date` string
    - `response_code` string
    - `captured` boolean
    - `captured_amount` integer
    - `rrn` string
    - `cvv_match` string
    - `metadata` object
    - `addendum_data` object
  - `errors` unknown[]
    - unknown
  - `test` boolean

## Other responses

- `400` — 400

---

[API](https://skmtc.net/fatzebra/apis/gateway.md) · [All operations](https://skmtc.net/fatzebra/apis/gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fatzebra/gateway/revisions/6317ad424277/schema)
